﻿@model EditorialProyectos.Website.Models.InvestmentViewModel

<div class="row action-bar">
    @Action.Back()
</div>
<div data-bind="with: Entity">
    @using (Html.BeginForm("Create", "Investment", FormMethod.Post, new { id = "InvestmentCreate" }))
    {
        <div class="form-group">

            @Html.KOTextBoxFor(model => model.Entity.ProjectId)

            @Html.LocalizedLabelFor(model => model.Entity.Amount)
            @Html.KOTextBoxFor(model => model.Entity.Amount)


            <button data-bind="click: $root.Create" type="submit" class="btn btn-action btn-full-width">@Html.LocalizedAction("Create")</button>
        </div>
    }
</div>